inherited frmZerar_Pendente_Venda: TfrmZerar_Pendente_Venda
  Left = 364
  Top = 256
  Caption = 'Zerar Saldos Pendentes - Venda'
  ClientHeight = 320
  ClientWidth = 709
  OldCreateOrder = True
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Width = 709
    Height = 81
    object Label1: TLabel
      Left = 24
      Top = 16
      Width = 102
      Height = 14
      Caption = 'N'#250'mero do Pedido'
    end
    object c_ped: TSpeedButton
      Left = 224
      Top = 12
      Width = 23
      Height = 22
      Flat = True
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        333333333333FF3333333333333C0C333333333333F777F3333333333CC0F0C3
        333333333777377F33333333C30F0F0C333333337F737377F333333C00FFF0F0
        C33333F7773337377F333CC0FFFFFF0F0C3337773F33337377F3C30F0FFFFFF0
        F0C37F7373F33337377F00FFF0FFFFFF0F0C7733373F333373770FFFFF0FFFFF
        F0F073F33373F333373730FFFFF0FFFFFF03373F33373F333F73330FFFFF0FFF
        00333373F33373FF77333330FFFFF000333333373F333777333333330FFF0333
        3333333373FF7333333333333000333333333333377733333333333333333333
        3333333333333333333333333333333333333333333333333333}
      NumGlyphs = 2
      OnClick = c_pedClick
    end
    object Label2: TLabel
      Left = 87
      Top = 52
      Width = 39
      Height = 14
      Caption = 'Cliente'
    end
    object c_cli: TSpeedButton
      Left = 200
      Top = 48
      Width = 23
      Height = 22
      Enabled = False
      Flat = True
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        333333333333FF3333333333333C0C333333333333F777F3333333333CC0F0C3
        333333333777377F33333333C30F0F0C333333337F737377F333333C00FFF0F0
        C33333F7773337377F333CC0FFFFFF0F0C3337773F33337377F3C30F0FFFFFF0
        F0C37F7373F33337377F00FFF0FFFFFF0F0C7733373F333373770FFFFF0FFFFF
        F0F073F33373F333373730FFFFF0FFFFFF03373F33373F333F73330FFFFF0FFF
        00333373F33373FF77333330FFFFF000333333373F333777333333330FFF0333
        3333333373FF7333333333333000333333333333377733333333333333333333
        3333333333333333333333333333333333333333333333333333}
      NumGlyphs = 2
      OnClick = c_cliClick
    end
    object ed_ped: TEdit
      Left = 136
      Top = 12
      Width = 84
      Height = 22
      BevelKind = bkFlat
      BorderStyle = bsNone
      MaxLength = 9
      TabOrder = 0
      OnEnter = ed_pedEnter
      OnExit = ed_pedExit
      OnKeyDown = ed_pedKeyDown
      OnKeyPress = ed_pedKeyPress
    end
    object ed_cli: TEdit
      Left = 136
      Top = 48
      Width = 57
      Height = 22
      BevelKind = bkFlat
      BorderStyle = bsNone
      MaxLength = 5
      TabOrder = 1
      OnEnter = ed_cliEnter
      OnExit = ed_cliExit
      OnKeyDown = ed_cliKeyDown
      OnKeyPress = ed_pedKeyPress
    end
    object p_cli: TPanel
      Left = 227
      Top = 48
      Width = 462
      Height = 23
      BevelInner = bvLowered
      Color = 14081504
      TabOrder = 2
    end
  end
  inherited Panel2: TPanel
    Top = 81
    Width = 709
    Height = 172
    Enabled = True
    object sg: TStringGrid
      Left = 3
      Top = 3
      Width = 703
      Height = 161
      Hint = 'Clique duas vezes p/ zerar o saldo pendente'
      Align = alTop
      ColCount = 11
      DefaultRowHeight = 15
      FixedColor = 14081504
      FixedCols = 0
      RowCount = 2
      Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSelect]
      TabOrder = 0
      OnClick = sgClick
      OnDblClick = sgDblClick
      OnEnter = sgClick
      OnExit = sgExit
      ColWidths = (
        29
        92
        204
        74
        87
        48
        72
        75
        64
        95
        317)
      RowHeights = (
        15
        15)
    end
    object pnlMotivo: TPanel
      Left = 182
      Top = 40
      Width = 345
      Height = 89
      BevelInner = bvLowered
      BorderWidth = 1
      TabOrder = 1
      Visible = False
      object Label3: TLabel
        Left = 8
        Top = 8
        Width = 40
        Height = 14
        Caption = 'Motivo:'
      end
      object edMotivo: TEdit
        Left = 8
        Top = 24
        Width = 329
        Height = 22
        CharCase = ecUpperCase
        MaxLength = 40
        TabOrder = 0
        OnExit = edMotivoExit
      end
      object Button1: TButton
        Left = 135
        Top = 56
        Width = 75
        Height = 25
        Caption = 'OK'
        TabOrder = 1
        OnClick = Button1Click
      end
    end
  end
  inherited Panel4: TPanel
    Top = 253
    Width = 709
    inherited btnCancelar1: TBitBtn
      Left = 307
    end
    inherited btnFechar1: TBitBtn
      Left = 596
      Top = 12
    end
    inherited BtnEliminar1: TBitBtn
      Left = 138
      Top = 44
    end
    inherited btnlistagem1: TBitBtn
      Top = 44
    end
    inherited btnGravar: TFlatButton
      Top = 3
      Width = 113
      OnClick = btnGravarClick
    end
    inherited BtnEliminar: TFlatButton
      Top = 40
      Visible = False
    end
    inherited btnCancelar: TFlatButton
      Left = 295
      Top = 3
      Width = 113
    end
    inherited btnlistagem: TFlatButton
      Top = 40
      Enabled = False
      Visible = False
    end
    inherited btnFechar: TFlatButton
      Left = 580
      Top = 3
      Width = 113
    end
  end
  inherited BS: TStatusBar
    Top = 301
    Width = 709
  end
  inherited Timer1: TTimer
    Left = 572
    Top = 31
  end
  inherited RDP: TRDprint
    Left = 572
    Top = 1
  end
  object md: TRxMemoryData
    FieldDefs = <>
    Left = 536
    Top = 8
    object mditem: TStringField
      FieldName = 'item'
      Size = 2
    end
    object mdproduto: TStringField
      FieldName = 'produto'
    end
    object mddescricao: TStringField
      FieldName = 'descricao'
      Size = 100
    end
    object mdunidade: TStringField
      FieldName = 'unidade'
      Size = 3
    end
    object mdqtde: TFloatField
      FieldName = 'qtde'
      DisplayFormat = '0.00000'
    end
    object mdvalor_unit: TFloatField
      FieldName = 'valor_unit'
      DisplayFormat = '0.00'
    end
    object mddesconto1: TFloatField
      FieldName = 'desconto1'
      DisplayFormat = '0.00'
    end
    object mddesconto2: TFloatField
      FieldName = 'desconto2'
      DisplayFormat = '0.00'
    end
    object mddesconto3: TFloatField
      FieldName = 'desconto3'
      DisplayFormat = '0.00'
    end
    object mddesconto4: TFloatField
      FieldName = 'desconto4'
      DisplayFormat = '0.00'
    end
    object mddesconto5: TFloatField
      FieldName = 'desconto5'
      DisplayFormat = '0.00'
    end
    object mdipi: TFloatField
      FieldName = 'ipi'
      DisplayFormat = '0.00'
    end
    object mdicms: TFloatField
      FieldName = 'icms'
      DisplayFormat = '0.00'
    end
    object mdcomissao: TFloatField
      FieldName = 'comissao'
      DisplayFormat = '0.00'
    end
    object mdvalor_descto: TFloatField
      FieldName = 'valor_descto'
      DisplayFormat = '0.00'
    end
    object mdvalor_total: TFloatField
      FieldName = 'valor_total'
      DisplayFormat = '0.00'
    end
    object mdpreco_gerado: TFloatField
      FieldName = 'preco_gerado'
      DisplayFormat = '0.00'
    end
    object mdpendente: TFloatField
      FieldName = 'pendente'
      DisplayFormat = '0.00000'
    end
    object mdordem: TStringField
      FieldName = 'ordem'
      Size = 6
    end
    object mdnum_nota: TStringField
      FieldName = 'num_nota'
      Size = 9
    end
    object mdnum_serie: TStringField
      FieldName = 'num_serie'
      Size = 3
    end
    object mddata_fat: TDateField
      FieldName = 'data_fat'
    end
    object mdprev_entrega: TDateField
      FieldName = 'prev_entrega'
    end
    object mdcod_trib: TStringField
      FieldName = 'cod_trib'
      Size = 3
    end
    object mdicms_dif: TFloatField
      FieldName = 'icms_dif'
      DisplayFormat = '0.00'
    end
    object mddataZero: TDateField
      FieldName = 'dataZero'
    end
    object mdMotivoZero: TStringField
      FieldName = 'MotivoZero'
      Size = 40
    end
  end
  object ds: TDataSource
    DataSet = md
    Left = 504
    Top = 8
  end
end
